//combineReducers将 多个reducer  合成一个Reducer
import { combineReducers } from 'redux';
import authReducer from './authReducer';
import errorReducer from './errorReducer';
import profileReducer from './profileReducer';
import postReducer from './postReducer'
export default combineReducers({
    auth: authReducer,
    errors:errorReducer,
    profile:profileReducer,
    post:postReducer
  })